<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" id="html">
    <head>
        <title></title>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <base href="<?= base_url(1); ?>" />
        <link type="text/css" href="css/main.css?v=<?= $config['version'] ?>" rel="stylesheet" />
    </head>
    <body>
        <!--<form action='<?= site_url('message/attribute/flexigrid') ?>' method="post">
                <div class="queryForm"><div style="margin-top:10px;"><?= translate('DBPLAYER_ROLE_NAME') ?>:
                <input id="rolename" name="rolename" type="text" /><input type="submit" value="查询"/></div></div>
        </form>
        -->
        <?php include(VIEWPATH . 'common/main_header.php'); ?>
        <div class="datalist"><table id="flexigrid" style="display:none"></table></div>
        <script type="text/javascript">
            $(function() {
                $("#flexigrid").flexigrid($.extend(SG.flexOptions, {
                    url: '<?= site_url('dbplayer/append/flexigrid') ?>',
                    colModel: [
                        {display: '<?= translate('DBPLAYER_APPEND_ID') ?>', name: '_id', width: '100', iskey: true},
                        {display: '<?= translate('DBPLAYER_NAME') ?>', name: 'name', width: '80'},
                        {display: '<?= translate('DBPLAYER_APPEND_ACTION') ?>', name: 'actions', width: '250'},
                        {display: '<?= translate('DBPLAYER_APPEND_MONEY') ?>', name: 'moneys', width: '250'},
                        {display: '<?= translate('DBPLAYER_APPEND_VIPLEVEL') ?>', name: 'viplevel', width: '80'},
                        {display: '<?= translate('DBPLAYER_APPEND_NEWWIZARD') ?>', name: 'newwizard', width: '300'},
                        {display: '<?= translate('DBPLAYER_APPEND_TODAYCHARGE') ?>', name: 'todaycharge', width: '80'},
                        {display: '<?= translate('DBPLAYER_APPEND_TOTALCHARGE') ?>', name: 'totalcharge', width: '80'},
                        {display: '<?= translate('DBPLAYER_APPEND_CURSTARID') ?>', name: 'curstarid', width: '80'},

                    ],
                    buttons: [
                        {name: 'export', displayname: "<?= translate('EXPORT') ?>", bclass: 'export', onpress: multi},
//                        {name: 'name', displayname: "<?//= translate('DBPLAYER_ROLE_NAME') ?>// <input type='text' style='padding:1px;' value='yy' size='12' placeholder='<?//= translate('PLASE_WRITE') ?>//' name='name' op='='/>", bclass: 'add'},
                    ],
                    searchitems: [{display: '<?= translate('DBPLAYER_APPEND_ID') ?>', name: '_id'},{display: '<?= translate('DBPLAYER_NAME') ?>', name: 'name'}],
                }));

            });
        </script>
    </body>
</html>